home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / ENROLS2.PAK / SECTFORM.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  66 lines

  1. // SectForm.h : interface of the CSectionForm class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CSectionSet;
  6.  
  7. class CSectionForm : public CRecordView
  8. {
  9. protected: // create from serialization only
  10.     CSectionForm();
  11.     DECLARE_DYNCREATE(CSectionForm)
  12.  
  13. public:
  14.     //{{AFX_DATA(CSectionForm)
  15.     enum{ IDD = IDD_ENROLL_FORM };
  16.     CComboBox   m_ctlCourseList;
  17.     CSectionSet* m_pSet;
  18.     //}}AFX_DATA
  19.  
  20. // Attributes
  21. public:
  22.     CEnrollDoc* GetDocument();
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CSectionForm)
  30.     public:
  31.     virtual CRecordset* OnGetRecordset();
  32.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  33.  
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     virtual void OnInitialUpdate(); // called first time after construct
  37.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  38.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  39.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  40.     //}}AFX_VIRTUAL
  41.  
  42. // Implementation
  43. public:
  44.     virtual ~CSectionForm();
  45. #ifdef _DEBUG
  46.     virtual void AssertValid() const;
  47.     virtual void Dump(CDumpContext& dc) const;
  48. #endif
  49.  
  50. protected:
  51.  
  52. // Generated message map functions
  53. protected:
  54.     //{{AFX_MSG(CSectionForm)
  55.     afx_msg void OnSelendokCourselist();
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.  
  60. #ifndef _DEBUG  // debug version in SectForm.cpp
  61. inline CEnrollDoc* CSectionForm::GetDocument()
  62.    { return (CEnrollDoc*)m_pDocument; }
  63. #endif
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66.